//
// Created by 原帅 on 2022/10/16.
//

#ifndef R_RLINKINFO_H
#define R_RLINKINFO_H

#include "netinet/in.h"

class RLinkInfo {

private:
    int fd;
    struct sockaddr_in remoteAddrInfo;

public:
    RLinkInfo(int fd, const sockaddr_in &remoteaddrinfo);

    int getFd() const;

    const sockaddr_in &getRemoteAddrInfo() const;
};


#endif //R_RLINKINFO_H
